﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MoetutuServer.Helper.Currency
{
    class OperationLog
    {
        public static void Scanner(String FileName)
        {
            if (FileName == "")
                return;
            List<string> FileAllLine = Helper.FileHelper.ReadAllLine(FileName);
            FileAllLine = FileAllLine.Skip(FileAllLine.Count - 1000).ToList<string>();
            Console.WriteLine(FileAllLine.Count);
            FileHelper.WriteUTF8List(FileName, FileAllLine);
         
        }
    }
}
